package io;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

public class Test {
    public static void main(String[] args) throws IOException {
        FileOutputStream fos = new FileOutputStream("test.txt");
        for (int i=0;i<26;i++){//26个英文字母
            fos.write(i+97);
        }
//        fos.write(97);//ASC码a
        System.out.println("写出完毕");
        fos.close();
    }
}
